package com.ruoqing.blog.controller;

import com.ruoqing.blog.service.api.FollowUsService;
import com.ruoqing.core.domain.rqblog.RuoXiFollowUsPo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
	* @author YaoXian
	* @title: FollowRestApi
	* @projectName ruoxi-blog
	* @description: 若晴微服务 -关于我们 - 控制层接口
	* @date 2021-02-22 13:14
	*/
@RestController
@RequestMapping(path = "/follow")
public class FollowRestApi {
		
		@Resource
		private FollowUsService followUsService;
		
		@GetMapping(path = "/show")
		public List<RuoXiFollowUsPo> showFollowUs(){
				return followUsService.selectFollowUs();
		}
}
